<template>
  <div :class="className">
    <kdform :config="config" :model="props.model" />
    <kdtable :options="options" />
    <el-pagination
      @current-change="currentChange"
      :background="background"
      :layout="layout"
      :total="total"
    />
  </div>
</template>

<script setup>
const props = defineProps(["options", "model"]);
const { config, options, background, layout, total, currentChange, className } =
  props.options;
</script>

<style scoped></style>
